Skip to content

ext/gmp: Emit deprecation for precision-losing float RHS in ** / << / >>#21945

Merged
Girgias merged 2 commits into
php:masterfrom
LamentXU123:bug-fix-9-at-master
May 11, 2026
Merged

ext/gmp: Emit deprecation for precision-losing float RHS in ** / << / >>#21945
Girgias merged 2 commits into
php:masterfrom
LamentXU123:bug-fix-9-at-master

Conversation

@LamentXU123
Copy link
Copy Markdown
Contributor

#21935 targeting the master branch

Copy link
Copy Markdown
Member

@Girgias Girgias left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is effectively fixing a missed case of the https://wiki.php.net/rfc/implicit-float-int-deprecate RFC.

@LamentXU123
Copy link
Copy Markdown
Contributor Author

This is effectively fixing a missed case of the https://wiki.php.net/rfc/implicit-float-int-deprecate RFC.

Yeah that confirms that this is a decided behavior, people may just forget to implement this :)

Comment thread UPGRADING Outdated
Co-authored-by: Gina Peter Banyard <girgias@php.net>
@Girgias Girgias merged commit 769441b into php:master May 11, 2026
18 of 19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants